LineGraphType.apply

Get all points upon the line Includes weighting for the point. Ranges from 0f .. 1f

  1. void apply(void delegate(TYPE x, TYPE y) del, size_t step = 1)
  2. void apply(void delegate(TYPE x, TYPE y, float weighting) del, size_t step = 1)
    struct LineGraphType(bool checkNegative, TYPE)
    void
    apply
    (
    void delegate(
    TYPE x
    ,
    TYPE y
    ,
    float weighting
    )
    del
    ,
    size_t step = 1
    )

Parameters

del
Type: void delegate(
TYPE x
,
TYPE y
,
float weighting
)

Delegate to call with a point

step
Type: size_t

The difference between points. Default: 1

Meta